package item.inkcloud.distributionservice.mapper;


import item.inkcloud.distributionservice.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.ArrayList;

@Component
@Mapper
public interface UserNearByMapper {

    @Select("select username,gender from UserInfo where province=#{province}")
    public ArrayList<UserInfo> getUserByProvince(String province);


}
